package com.buer.train.business.dao;

import com.buer.train.business.domain.VersionDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 版本升级表
 * @date 2021-03-16 10:16:51
 */
@Mapper
public interface VersionDao {

	VersionDO get(Integer id);
	
	List<VersionDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(VersionDO version);
	
	int update(VersionDO version);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

    List<VersionDO> getVersionList(Map<String, Object> map);

    VersionDO getOne(Map<String, Object> map);
}
